/*
____/\\\\\\\\\_____        __/\\\________/\\\_        __/\\\\\\\\\\\_
 __/\\\///////\\\___        _\/\\\_______\/\\\_        _\/////\\\///__
  _\/\\\_____\/\\\___        _\/\\\_______\/\\\_        _____\/\\\_____
   _\/\\\\\\\\\\\/____        _\/\\\_______\/\\\_        _____\/\\\_____
    _\/\\\//////\\\____        _\/\\\_______\/\\\_        _____\/\\\_____
     _\/\\\____\//\\\___        _\/\\\_______\/\\\_        _____\/\\\_____
      _\/\\\_____\//\\\__        _\//\\\______/\\\__        _____\/\\\_____
       _\/\\\______\//\\\_        __\///\\\\\\\\\/___        __/\\\\\\\\\\\_
        _\///________\///__        ____\/////////_____        _\///////////__
*/
#ifndef DATA_MATH_H
#define DATA_MATH_H

#include "stdint.h"

int16_t MATH_ABS_int16_t(int16_t DATA);
int32_t MATH_ABS_int32_t(int32_t DATA);
float MATH_ABS_float(float DATA);
float MATH_Limit_float(float MAX, float MIN, float DATA);
int16_t MATH_Limit_int16(int16_t MAX, int16_t MIN, int16_t DATA);
float MATH_INV_SQRT_float(float DATA);
float Hex_To_Float(const uint32_t* Byte);
uint32_t FloatTohex(float HEX);
int float_to_uint(float x_float, float x_min, float x_max, int bits);
float uint_to_float(int x_int, float x_min, float x_max, int bits);
float Limit_Angle(float ElAngle);

#endif
